-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: evm signer - tryprocessout #1809
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #1809 +/- ##
===========================================
+ Coverage 40.77% 42.97% +2.19%
===========================================
Files 216 217 +1
Lines 12780 12792 +12
===========================================
+ Hits 5211 5497 +286
+ Misses 7173 6852 -321
- Partials 396 443 +47
|
@ws4charlie can you please have a look in this PR sometime today? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left a few minor comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, setTransactionData needs more tests, and I think we should discuss #1809 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Description
Refactored the tryprocessout interface int the evm signer. The function was broken into 3 parts:
A new data structure was introduced to store the required inputs for all transaction types. Signatures were simplified using the new struct.
Some input validation and setup was moved to another function as well.
Closes: #1770
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Include instructions and any relevant details so others can reproduce.
Checklist: